package com.family.pedigree.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author forever
 * Date 2024/11/10 18:33
 */
@Data
public class FamilyArticleDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文章id
     */
    @TableId(value = "article_id", type = IdType.AUTO)
    private Long articleId;

    /**
     * 文章标题
     */
    private String title;

    /**
     * 分类(0-重大事件 1-通知)
     */
    private String category;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
